﻿using FluentNHibernate.Mapping;

namespace Business.Entity.Contabil.Pessoa.SubClass.Usuario.ClassesRelacionadas
{
    public class RelatorioMap : ClassMap<Relatorio>
    {
        public RelatorioMap()
        {
            Id(x => x.Id).Not.Nullable().Unique().GeneratedBy.Sequence("sqRelatorio");

            Map(x => x.Nivel);

            Map(x => x.Nome);
        }
    }
}
